@extends('layouts.home-marster')

@section('consult')
    {{--内容区--}}
    <div class="main-wrap">
        {{--左边内容区域--}}
        <div class="main-left col-md-8 col-xs-8 col-sm-8">
            <div class="com-section news-list ">
                <div class="article-box">
                    {{--一条新闻--}}
                    @foreach($consult as $k)
                    <div class="item">
                        <div class="article-content">
                            <div class="photo-box">
                                <a href="{{url('zjxhome/go_course/'.$k->id.'/c')}}"><img style="position: relative;float: right;width: 192px;" src="{{asset('image/infomation/'.$k->icon)}}"></a>
                            </div>
                            <div class="intro-box">
                                <h3>
                                    <a href="{{url('zjxhome/go_course/'.$k->id.'/c')}}" target="_blank">{{$k->title}}</a>
                                </h3>
                                <p class="time">{{date('Y-m-d'),$k->addtime}}</p>
                                <p class="intro">
                                    <a href="" target="_blank">{{$k->text}}</a>
                                </p>
                            </div>
                        </div>
                    </div>
                    @endforeach
                </div>
                {{--加载更多--}}
                <div class="more-bottom"><a style="cursor:pointer">加载更多</a></div>
            </div>
        </div>
        {{--右边内容区域--}}
        <div class="side-right col-md-4 col-xs-4 col-sm-4">
            <div class="com-section">
                <h2 class="sec-ttl" style="font-size:15px;font-weight:bold">标签云</h2>
                <div class="tag-cloud">
                    <ul class="clearfix">
                        @foreach($consult as $k)
                        <li><a href="">{{$k->header}}</a></li>

                        @endforeach
                    </ul>
                </div>
            </div>
        </div>
    </div>
@endsection